package com.hunttown.mes.rpc.api;

import com.hunttown.mes.rpc.domain.AnalysisManageRightRoleAdminRelDTO;
import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.query.AnalysisManageRightRoleAdminRelDTOQuery;

import java.util.List;

/**
 * created by wangjunfu on 2018-11-26 15:05:55
 */
public interface AnalysisManageRightRoleAdminRelRpcService {

    AnalysisManageRightRoleAdminRelDTO insert(AnalysisManageRightRoleAdminRelDTO analysisManageRightRoleAdminRelDTO);

    Boolean updateInfoById(AnalysisManageRightRoleAdminRelDTO analysisManageRightRoleAdminRelDTO);

    Boolean updateInfoByQuery(AnalysisManageRightRoleAdminRelDTOQuery analysisManageRightRoleAdminRelDTOQuery);

    AnalysisManageRightRoleAdminRelDTO selectById(Integer id);

    AnalysisManageRightRoleAdminRelDTO selectObjByQuery(AnalysisManageRightRoleAdminRelDTOQuery analysisManageRightRoleAdminRelDTOQuery);

    Page<AnalysisManageRightRoleAdminRelDTO> getListForPage(AnalysisManageRightRoleAdminRelDTOQuery analysisManageRightRoleAdminRelDTOQuery);

    Boolean deleteById(Integer id);

    void insertForBatch(List<AnalysisManageRightRoleAdminRelDTO> list);
}